﻿#pragma once
#include "PropertyEditEntry.h"

class AbstractItemViewPropertyEditEntry : public PropertyEditEntry {
    Q_OBJECT
public:
    explicit AbstractItemViewPropertyEditEntry(QWidget *parent = nullptr);
    AbstractItemViewPropertyEditEntry(void *object, QWidget *parent = nullptr);
    ~AbstractItemViewPropertyEditEntry();
    void setObject(void *object) override;

protected:
    void onTick() override;

private:
    void initUi();
    void retranslateUi();

private:
    struct AbstractItemViewPropertyEditEntryPrivate;
    QScopedPointer<AbstractItemViewPropertyEditEntryPrivate> p;
};

